
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page language="java" pageEncoding="utf-8"%>
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="<c:url value="/static/favicon.ico"/>"
	type="image/x-icon">
<link rel="stylesheet"
	href="<c:url value="/static/lib/bootstrap/css/bootstrap.min.css"/>" />
<link rel="stylesheet" href="<c:url value="/static/css/common.css"/>" />
<link rel="stylesheet" href="<c:url value="/static/css/nav.css"/>" />
<script src="<c:url value="/static/lib/jquery-2.1.4.min.js"/>"
	type="text/javascript"></script>
<script src="<c:url value="/static/lib/bootstrap/js/bootstrap.min.js"/>"
	type="text/javascript"></script>
<script src="<c:url value="/static/lib/angular.min.js"/>"
	type="text/javascript"></script>
<script src="<c:url value="/static/js/configuration/addConnection.js"/>"
	type="text/javascript"></script>
<title>connection</title>
</head>
<body ng-app="FusionV3">

	<ng-include src="'<c:url value="/static/html/nav.html"/>'"></ng-include>

	<section ng-controller="connectionController" class="container">
		<form class="form-horizontal">
			<fieldset>

				<!-- Form Name -->
				<legend> Connection:</legend>

				<!-- Text input-->
				<div class="form-group">
					<label class="col-md-4 control-label">Connection name:</label>

					<div class="col-md-4">
						<input name="textinput" ng-model="connection.connectionName" type="text"
							placeholder="please enter connection name"
							class="form-control input-md">

					</div>
				</div>

				<!-- Text input-->
				<div class="form-group">
					<label class="col-md-4 control-label">Endpoint:</label>

					<div class="col-md-4">
						<input name="textinput" ng-model="connection.endpoint" type="text"
							placeholder="please enter wsdl endpoint"
							class="form-control input-md">

					</div>
				</div>

				<!-- Text input-->
				<div class="form-group">
					<label class="col-md-4 control-label">Fusion Account:</label>

					<div class="col-md-4">
						<input name="textinput" type="text" ng-model="connection.fusionAccount"
							placeholder="please enter Fusion Account"
							class="form-control input-md">

					</div>
				</div>

				<!-- Text input-->
				<div class="form-group">
					<label class="col-md-4 control-label" for="textinput3">Fusion
						Password:</label>

					<div class="col-md-4">
						<input name="textinput" type="password" ng-model="connection.fusionPassword"
							placeholder="Please enter Fusion Password"
							class="form-control input-md">

					</div>
				</div>


				<!-- Button (Double) -->
				<div class="form-group">
					<label class="col-md-4 control-label" for="button1id"></label>

					<div class="col-md-8">
						<button class="btn btn-primary" ng-click="saveConnection()">Save</button>
						<button class="btn btn-primary">Cancel</button>
					</div>
				</div>

			</fieldset>
		</form>

		<div>{{msg}}</div>
	</section>

</body>
</html>
